package com.song.ssm.service.impl;

import com.song.ssm.mapper.RoomMapper;
import com.song.ssm.pojo.Room;
import com.song.ssm.service.RoomService;
import com.song.ssm.util.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author TonySong
 * @date 2025/8/18 0018
 * @time 13:47
 */
@Service
public class RoomServiceImpl implements RoomService {
    @Autowired
    private RoomMapper roomMapper;
    @Override
    public List<Room> findAll() {
        return roomMapper.findAll();
    }
}
